#include "GameEngine.h"


using namespace DeepClasses;

GameEngine::GameEngine(void)
{
}

GameEngine::~GameEngine(void)
{
}

int GameEngine::Init()
{
	int res = m_world.CreateWorld();

	return res;
}

int GameEngine::Deinit()
{
	return DE_OK;
}

int GameEngine::MainCycle()
{
	BOOST_FOREACH(DCreature* i, m_world.m_dwarves)
	{
		i->Tick();

	}
	return DE_OK;
}

int GameEngine::OnKeyDown( int keyCode )
{
	return DE_OK;
}

int GameEngine::OnKeyUp( int keyCode )
{
	return DE_OK;
}

int GameEngine::OnLMBDown()
{
	return DE_OK;
}

int GameEngine::OnLMBUp()
{
	return DE_OK;
}

int GameEngine::OnRMBDown()
{
	return DE_OK;
}

int GameEngine::OnRMBUp()
{
	return DE_OK;
}